KadenceWP\KadenceStarterTemplates\Library_REST_Controller D

Total Complexity 661
Dependencies 32
Dependents 1
Total lines 4,390
Lines of code 3,147
Logical lines of code 1,402
Comment lines 1,003
Methods 104
Properties 27

Methods 104

Method Rating Maintainability Complexity Lines of code
get_new_remote_contents()
D
17
56 272
install_plugins_from_array()
D
21
59 178
register_routes()
C
22
1 410
set_image_data()
B
41 22 54
install_products()
B
36 18 76
process_page_content()
B
42 17 49
set_attribute_data()
B
41 16 55
get_images_by_industry()
B
42 16 48
import_image()
B
39 15 63
set_category_data()
A
43 15 50
set_event_venue_data()
A
42 14 55
install_posts()
A
43 14 45
get_all_ai_items()
A
45 13 40
get_single_job()
A
45 12 40
has_initial_jobs()
A
47 12 35
get_remaining_jobs()
A
41 10 58
get_allowed_plugins()
A
30 1 187
setup_learndash()
A
39 8 73
get_remote_remaining_credits()
A
49 10 31
remove_content()
A
49 10 28
get_token_header()
A
51 10 23
get_initial_jobs()
A
50 9 30
set_event_organizers_data()
A
47 8 37
get_image_info()
A
56 9 17
get_keyword_suggestions()
A
48 8 32
get_remote_search_images()
A
45 7 44
get_remote_industry_images()
A
46 7 42
add_attribute_term_by_id()
A
53 8 24
install_course()
A
47 7 34
get_template_data()
A
57 8 17
get_image_search_query()
S
49 7 30
set_taxonomy_data()
S
53 7 24
set_post_category_data()
S
53 7 24
set_post_tag_data()
S
52 7 24
check_for_local_image()
S
48 6 37
create_template_data_file()
S
54 7 22
install_settings()
S
55 7 17
get_attribute_taxonomy_id()
S
45 5 46
get_remote_url_contents()
S
50 6 30
get_remote_products()
S
50 6 29
get_remote_posts()
S
50 6 29
get_pro_license_data()
S
52 6 26
get_license_keys()
S
56 6 19
create_ai_data_file()
S
56 6 18
get_local_contexts()
S
57 6 18
update_pages()
S
55 6 18
get_remote_job()
S
50 5 31
get_collection_params()
S
39 1 83
get_industry_verticals()
S
57 5 16
schedule_cleanup()
S
67 6 7
get_remote_image_collections()
S
56 4 20
get_remote_industry_verticals()
S
58 4 17
get_image_collections()
S
57 4 17
install_events()
S
59 4 13
get_all_local_ai_items()
S
61 4 13
install_block_cpt()
S
60 4 12
get_current_env()
S
64 4 11
process_pages()
S
61 4 11
hash()
S
63 4 10
sanitize_industries_array()
S
64 4 10
process_options_images()
S
61 3 13
install_navigation()
S
60 3 13
install_plugin()
S
60 3 13
install_pages()
S
60 3 13
get_filesystem()
S
62 3 11
check_for_image()
S
65 3 9
get_starter_templates_folder()
S
67 3 9
add_attribute_terms_by_id()
S
64 3 10
get_current_license_key()
S
65 3 9
install_donation_form()
S
64 3 9
is_response_code_error()
S
66 3 8
is_image_url()
S
68 3 8
get_items()
S
62 2 12
get_local_template_data_path()
S
70 2 6
get_local_template_data_filename()
S
68 2 7
get_ai_library_folder()
S
69 2 7
get_subfolder_name()
S
71 2 6
get_base_path()
S
68 2 7
get_local_data_contents()
S
68 2 8
get_base_url()
S
71 2 6
get_local_template_data_contents()
S
66 2 9
get_instance()
S
72 2 6
create_filename_from_alt()
S
66 2 8
get_bundle_download_link()
S
68 2 7
activate_plugin()
S
67 2 7
install_plugins()
S
63 2 10
get_remaining_credits()
S
64 2 10
get_auth_data()
S
66 1 9
install_widgets()
S
68 1 7
get_local_ai_data_filename()
S
79 1 3
validate_array()
S
80 1 3
sanitize_plugins()
S
75 1 4
sanitize_pages()
S
67 1 8
sanitize_filename()
S
79 1 3
get_items_permission_check()
S
80 1 3
get_local_ai_data_path()
S
78 1 3
get_ai_subfolder_name()
S
75 1 4
process_images()
S
75 1 4
delete_starter_templates_folder()
S
79 1 3
get_remote_events()
S
76 1 4
__construct()
S
68 1 7
has_local_file()
S
80 1 3
get_ai_base_sites()
S
73 1 5
get_data()
S
77 1 4